//
//  TitleBarView.h
//  Cunli
//
//  Created by lilubin on 15/6/9.
//  Copyright (c) 2015年 lilubin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TitleBarView : UIScrollView

@property (nonatomic, strong) NSMutableArray *titleButtons;
@property (nonatomic, assign) NSInteger currentIndex;
@property (nonatomic, copy) void (^titleButtonClicked)(NSInteger index);

- (instancetype)initWithFrame:(CGRect)frame andTitles:(NSArray *)titles;
@end
